﻿
namespace Community.CsharpSqlite.WP.SqliteDataProvider.Base
{
    /// <summary>
    /// 
    /// </summary>
    public interface IDbCommand
    {
        void Cancel();
        IDataParameter CreateParameter();
        int ExecuteNonQuery();
        IDataReader ExecuteReader();
        IDataReader ExecuteReader(CommandBehavior b);
        object ExecuteScalar();

        string CommandText { get; set; }
        int CommandTimeout { get; set; }
        CommandType CommandType { get; set; }
        IDbConnection Connection { get; }
        IDataParameterCollection Parameters { get; }
        IDbTransaction Transaction { get; set; }
        UpdateRowSource UpdatedRowSource { get; set; }
    }
}
